package com.macy.mysok.activity;

import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.macy.mysok.App;

import org.xutils.x;

public class BaseActivity extends AppCompatActivity {

    protected App app;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
        try{
            app=(App)getApplication();



        }catch (Exception e){}
    }
}
